package com.ocom.ugcapi.client;


import com.alibaba.fastjson.JSONObject;
import com.ocom.common.constant.EmqxUrl;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Map;


@FeignClient(value = "emqx" )
public interface EmqxClientService {

    @PostMapping(EmqxUrl.URL_nmTimerQuery)
    public Result timerQuery(@RequestBody JSONObject jsonObject) ;
}

